package com.example.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Description: TODO
 * @Author wenlinyu
 * @Date: 2021/4/1 15:34
 * @Version 1.0
 */
@SpringBootApplication
@EnableDiscoveryClient // 该注册用于想使用consul或zookeeper作为注册中心时注册服务
public class PaymentZkMain8004 {

    public static void main(String[] args) {
        SpringApplication.run(PaymentZkMain8004.class, args);
    }
}
